<div class="row">
	<div class="col-sm-6">
		<section class="panel">
			<header class="bg-success panel-heading font-bold"> Lihat Biodata Pengguna</header>
			<div class="panel-body">
				<form class="form-horizontal" method="get">
					<div class="form-group">
						<label class="col-sm-4 control-label">Nama lengkap</label>
						<div class="col-sm-7">
							<input type="text" class="form-control" data-required="true" value="<?php echo $users[0]['NAMA_LENGKAP']; ?>" disabled>
						</div>
					</div>
					<div class="form-group">
						<label class="col-sm-4 control-label">NIP</label>
						<div class="col-sm-7">
							<input type="text" class="form-control" data-required="true" value="<?php echo $users[0]['NIP']; ?>" disabled>
						</div>
					</div>			
					<div class="line line-dashed line-lg pull-in"></div>
					<div class="form-group">
						<label class="col-sm-4 control-label">Tempat lahir</label>
					<div class="col-sm-7">
						<input type="text" class="form-control" data-required="true" value="<?php echo $users[0]['TEMPAT_LAHIR']; ?>" disabled>
					</div>
					</div>
					<div class="line line-dashed line-lg pull-in"></div>
					<div class="form-group">
						<label class="col-sm-4 control-label">Tanggal lahir</label>
						<div class="col-sm-7">
							<input class="datepicker-input form-control" data-required="true" type="text" data-date-format="dd-mm-yyyy" value="<?php $date = explode('-', $users[0]['TGL_LAHIR']); echo $date[2].'-'.$date[1].'-'.$date[0]; ?>" disabled>
						</div>
					</div>
					<div class="line line-dashed line-lg pull-in"></div>
					<div class="form-group">
						<label class="col-sm-4 control-label">Jenis kelamin</label>
						<div class="col-sm-7">
							<input type="text" class="form-control" data-required="true" value="<?php if($users[0]['JENIS_KELAMIN'] == 1) echo 'Laki-laki'; else echo 'Perempuan';?>" disabled>
						</div>
					</div>
					<div class="line line-dashed line-lg pull-in"></div>
						<div class="form-group">
						<label class="col-sm-4 control-label">Alamat</label>
						<div class="col-sm-7">
							<input type="text" class="form-control" data-required="true" value="<?php echo $users[0]['TEMPAT_LAHIR']; ?>" disabled>
						</div>
					</div>
					<div class="line line-dashed line-lg pull-in"></div>
					<div class="form-group">
						<label class="col-sm-4 control-label">Nomor telepon</label>
						<div class="col-sm-7">
							<input type="text" class="form-control" data-required="true" value="<?php echo $users[0]['TELP']; ?>" disabled>
						</div>
					</div>
					<div class="line line-dashed line-lg pull-in"></div>
					<div class="form-group">
						<label class="col-sm-4 control-label">Nomor handphone</label>
						<div class="col-sm-7">
							<input type="text" class="form-control" data-required="true"value="<?php echo $users[0]['HP']; ?>" disabled>
						</div>
					</div>
				</form>
			</div>
		</section>	
	</div>
	<div class="col-sm-6">
		<section class="panel">
			<header class="bg-success panel-heading font-bold"> Data Sign in</header>
			<div class="panel-body">
				<form class="form-horizontal" method="get">
					<div class="form-group">
						<label class="col-sm-2 control-label">Email</label>
						<div class="col-sm-9">
							<input type="email" class="form-control" data-required="true" value="<?php echo $users[0]['EMAIL']; ?>" disabled>
						</div>
					</div>			
					<div class="line line-dashed line-lg pull-in"></div>
					<div class="form-group">
						<label class="col-sm-2 control-label">Username</label>
						<div class="col-sm-9">
							<input type="text" class="form-control" data-required="true" value="<?php echo $users[0]['USERNAME']; ?>" disabled>
						</div>
					</div>			
					<div class="line line-dashed line-lg pull-in"></div>
					<div class="form-group">
						<label class="col-sm-2 control-label">Role</label>
						<div class="col-sm-9">
							<input type="text" class="form-control" data-required="true" value="<?php 
								if($users[0]['ROLE'] == 1) echo 'Administrator';
								else if($users[0]['ROLE'] == 2) echo 'Pencetak Legalisir';
								else if($users[0]['ROLE'] == 3) echo 'Verifikator';
								//else if($users[0]['ROLE'] == 4) echo 'Kepala Dinas';
								//else if($users[0]['ROLE'] == 5) echo 'Sekretaris';
							?>" disabled>
						</div>
					</div>
					<div class="line line-dashed line-lg pull-in"></div>
					<div class="form-group">
						<label class="col-sm-2 control-label">Status</label>
						<div class="col-sm-9">
							<input type="text" class="form-control" data-required="true" value="<?php
								if($users[0]['STATUS'] == 1) echo 'Aktif';
								else if($users[0]['STATUS'] == 0) echo 'Tidak Aktif';?>" disabled>
						</div>
					</div>
					<div class="form-group">			
						<div class="col-lg-11 control-label">
							<div class="doc-buttons">
								<a href="<?php echo site_url('admin/aduserm/userM');?>" class="btn btn-sm btn-info"><i class="fa fa-arrow-circle-left text"></i><span class="text"> Kembali</span></a>
							</div>
						</div>				
					</div>					
				</form>
			</div>
		</section>		
	</div>
</div>
